home *** CD-ROM | disk | FTP | other *** search
/ Trading on the Edge / Trading On The Edge - CD-ROM Toolkit (Wayzata Technology)(2031)(1994).bin / pc / mac_file / vendor_d / neuralwa / nw2v50 / city.ins < prev    next >
Text File  |  1993-08-23  |  50KB  |  2,515 lines

  1. inst2.0         !15:00 03-Jun-88  (tsp.ins)  TSP Network Builder Model
  2. !****************************************************************
  3. !*                                                              *
  4. !*      TSP Network Generator                                   *
  5. !*                                                              *
  6. !****************************************************************
  7.  
  8. !       *** check that input PE count is non-zero
  9.  
  10.  
  11. =n3     16              ! Number of PEs per 3 major layers
  12.  
  13. !       *** Load the Control Strategy and LRS if needed
  14.  
  15. @LdCS   "tsp"                   !control strategy
  16. @LdLR   "tsp"                   !L/R schedule
  17. @LdSt   "tsp"                   !style sheet = TSP
  18.  
  19. =netn   "InstaNet (tm) TSP Network version 1.00 20-Jun-88"
  20. =DLnF   0                       !learn  re-display off
  21. =DRcF   0                       !recall re-display off
  22.  
  23. !       *** Build the Input Layer ***
  24.  
  25. @LLdf                           !load default layer to mi_layer structure
  26. =LDsp 3
  27. =LDln   "Input"                 !layer name
  28. =Lpes   n3                      !copy # of input PEs from menu
  29. =x      100                     !place to put layer on screen
  30. =y       35
  31. @LAdd                           !add the input layer
  32. =n0     LayN                    !track previous layer
  33. =n2   LayN          !keep a pointer to this layer
  34.  
  35. !       *** Build the Hopfield Layer ***
  36.  
  37. @LLdf                           !start with default layer again
  38. =LDsp 3
  39. =LDln   "Hopfield"              !layer name
  40. =Lpes   n3                      !desired number of PEs
  41. =Lsum   "CumSum"                !summation function
  42. =Ltrn   "Sigmoid"                  !transfer function
  43. =Lscl 1.0           ! add scale
  44. =Loff 0.0           ! add offset
  45. +y      235                     !up higher on display
  46. @LAdd
  47.  
  48. !       *** Connect it to the input layer ***
  49.  
  50. =SPEl   LayN                    !current layer
  51. @SlPE
  52. =NPEl   n0                      !input layer
  53. @NrPE
  54. =cnwt   1.0                     !unit weight
  55. =cnsc   WRel
  56. =cnty   WSet
  57. @LCCr                           !connect corresponding items
  58.  
  59. !       *** Connect it to itself ***
  60.  
  61. =NPEl   LayN                    !connect layer to itself
  62. =cnsc   WAbs                    !absolute connection geometry
  63.  
  64. =n0     LayN                    !track hopfield layer
  65.  
  66.  
  67.  
  68.  
  69. !      Distance Terms   
  70.  
  71. @PECN 0,7,-0.009724,M
  72. @PECN 0,5,-0.009724,M
  73. @PECN 0,11,-0.050000,M
  74. @PECN 0,9,-0.050000,M
  75. @PECN 0,15,-0.009724,M
  76. @PECN 0,13,-0.009724,M
  77. @PECN 1,4,-0.009724,M
  78. @PECN 1,6,-0.009724,M
  79. @PECN 1,8,-0.050000,M
  80. @PECN 1,10,-0.050000,M
  81. @PECN 1,12,-0.009724,M
  82. @PECN 1,14,-0.009724,M
  83. @PECN 2,5,-0.009724,M
  84. @PECN 2,7,-0.009724,M
  85. @PECN 2,9,-0.050000,M
  86. @PECN 2,11,-0.050000,M
  87. @PECN 2,13,-0.009724,M
  88. @PECN 2,15,-0.009724,M
  89. @PECN 3,6,-0.009724,M
  90. @PECN 3,4,-0.009724,M
  91. @PECN 3,10,-0.050000,M
  92. @PECN 3,8,-0.050000,M
  93. @PECN 3,14,-0.009724,M
  94. @PECN 3,12,-0.009724,M
  95. @PECN 4,3,-0.009724,M
  96. @PECN 4,1,-0.009724,M
  97. @PECN 4,11,-0.009724,M
  98. @PECN 4,9,-0.009724,M
  99. @PECN 4,15,-0.050000,M
  100. @PECN 4,13,-0.050000,M
  101. @PECN 5,0,-0.009724,M
  102. @PECN 5,2,-0.009724,M
  103. @PECN 5,8,-0.009724,M
  104. @PECN 5,10,-0.009724,M
  105. @PECN 5,12,-0.050000,M
  106. @PECN 5,14,-0.050000,M
  107. @PECN 6,1,-0.009724,M
  108. @PECN 6,3,-0.009724,M
  109. @PECN 6,9,-0.009724,M
  110. @PECN 6,11,-0.009724,M
  111. @PECN 6,13,-0.050000,M
  112. @PECN 6,15,-0.050000,M
  113. @PECN 7,2,-0.009724,M
  114. @PECN 7,0,-0.009724,M
  115. @PECN 7,10,-0.009724,M
  116. @PECN 7,8,-0.009724,M
  117. @PECN 7,14,-0.050000,M
  118. @PECN 7,12,-0.050000,M
  119. @PECN 8,3,-0.050000,M
  120. @PECN 8,1,-0.050000,M
  121. @PECN 8,7,-0.009724,M
  122. @PECN 8,5,-0.009724,M
  123. @PECN 8,15,-0.009724,M
  124. @PECN 8,13,-0.009724,M
  125. @PECN 9,0,-0.050000,M
  126. @PECN 9,2,-0.050000,M
  127. @PECN 9,4,-0.009724,M
  128. @PECN 9,6,-0.009724,M
  129. @PECN 9,12,-0.009724,M
  130. @PECN 9,14,-0.009724,M
  131. @PECN 10,1,-0.050000,M
  132. @PECN 10,3,-0.050000,M
  133. @PECN 10,5,-0.009724,M
  134. @PECN 10,7,-0.009724,M
  135. @PECN 10,13,-0.009724,M
  136. @PECN 10,15,-0.009724,M
  137. @PECN 11,2,-0.050000,M
  138. @PECN 11,0,-0.050000,M
  139. @PECN 11,6,-0.009724,M
  140. @PECN 11,4,-0.009724,M
  141. @PECN 11,14,-0.009724,M
  142. @PECN 11,12,-0.009724,M
  143. @PECN 12,3,-0.009724,M
  144. @PECN 12,1,-0.009724,M
  145. @PECN 12,7,-0.050000,M
  146. @PECN 12,5,-0.050000,M
  147. @PECN 12,11,-0.009724,M
  148. @PECN 12,9,-0.009724,M
  149. @PECN 13,0,-0.009724,M
  150. @PECN 13,2,-0.009724,M
  151. @PECN 13,4,-0.050000,M
  152. @PECN 13,6,-0.050000,M
  153. @PECN 13,8,-0.009724,M
  154. @PECN 13,10,-0.009724,M
  155. @PECN 14,1,-0.009724,M
  156. @PECN 14,3,-0.009724,M
  157. @PECN 14,5,-0.050000,M
  158. @PECN 14,7,-0.050000,M
  159. @PECN 14,9,-0.009724,M
  160. @PECN 14,11,-0.009724,M
  161. @PECN 15,2,-0.009724,M
  162. @PECN 15,0,-0.009724,M
  163. @PECN 15,6,-0.050000,M
  164. @PECN 15,4,-0.050000,M
  165. @PECN 15,10,-0.009724,M
  166. @PECN 15,8,-0.009724,M
  167.  
  168. !      Inhibitory connections within row   
  169.  
  170. @PECN 0,1,-0.050000,F
  171. @PECN 0,2,-0.050000,F
  172. @PECN 0,3,-0.050000,F
  173. @PECN 1,0,-0.050000,F
  174. @PECN 1,2,-0.050000,F
  175. @PECN 1,3,-0.050000,F
  176. @PECN 2,0,-0.050000,F
  177. @PECN 2,1,-0.050000,F
  178. @PECN 2,3,-0.050000,F
  179. @PECN 3,0,-0.050000,F
  180. @PECN 3,1,-0.050000,F
  181. @PECN 3,2,-0.050000,F
  182. @PECN 4,5,-0.050000,F
  183. @PECN 4,6,-0.050000,F
  184. @PECN 4,7,-0.050000,F
  185. @PECN 5,4,-0.050000,F
  186. @PECN 5,6,-0.050000,F
  187. @PECN 5,7,-0.050000,F
  188. @PECN 6,4,-0.050000,F
  189. @PECN 6,5,-0.050000,F
  190. @PECN 6,7,-0.050000,F
  191. @PECN 7,4,-0.050000,F
  192. @PECN 7,5,-0.050000,F
  193. @PECN 7,6,-0.050000,F
  194. @PECN 8,9,-0.050000,F
  195. @PECN 8,10,-0.050000,F
  196. @PECN 8,11,-0.050000,F
  197. @PECN 9,8,-0.050000,F
  198. @PECN 9,10,-0.050000,F
  199. @PECN 9,11,-0.050000,F
  200. @PECN 10,8,-0.050000,F
  201. @PECN 10,9,-0.050000,F
  202. @PECN 10,11,-0.050000,F
  203. @PECN 11,8,-0.050000,F
  204. @PECN 11,9,-0.050000,F
  205. @PECN 11,10,-0.050000,F
  206. @PECN 12,13,-0.050000,F
  207. @PECN 12,14,-0.050000,F
  208. @PECN 12,15,-0.050000,F
  209. @PECN 13,12,-0.050000,F
  210. @PECN 13,14,-0.050000,F
  211. @PECN 13,15,-0.050000,F
  212. @PECN 14,12,-0.050000,F
  213. @PECN 14,13,-0.050000,F
  214. @PECN 14,15,-0.050000,F
  215. @PECN 15,12,-0.050000,F
  216. @PECN 15,13,-0.050000,F
  217. @PECN 15,14,-0.050000,F
  218.  
  219. !      Inhibitory connections within column   
  220.  
  221. @PECN 0,4,-0.050000,F
  222. @PECN 0,8,-0.050000,F
  223. @PECN 0,12,-0.050000,F
  224. @PECN 4,0,-0.050000,F
  225. @PECN 4,8,-0.050000,F
  226. @PECN 4,12,-0.050000,F
  227. @PECN 8,0,-0.050000,F
  228. @PECN 8,4,-0.050000,F
  229. @PECN 8,12,-0.050000,F
  230. @PECN 12,0,-0.050000,F
  231. @PECN 12,4,-0.050000,F
  232. @PECN 12,8,-0.050000,F
  233. @PECN 1,5,-0.050000,F
  234. @PECN 1,9,-0.050000,F
  235. @PECN 1,13,-0.050000,F
  236. @PECN 5,1,-0.050000,F
  237. @PECN 5,9,-0.050000,F
  238. @PECN 5,13,-0.050000,F
  239. @PECN 9,1,-0.050000,F
  240. @PECN 9,5,-0.050000,F
  241. @PECN 9,13,-0.050000,F
  242. @PECN 13,1,-0.050000,F
  243. @PECN 13,5,-0.050000,F
  244. @PECN 13,9,-0.050000,F
  245. @PECN 2,6,-0.050000,F
  246. @PECN 2,10,-0.050000,F
  247. @PECN 2,14,-0.050000,F
  248. @PECN 6,2,-0.050000,F
  249. @PECN 6,10,-0.050000,F
  250. @PECN 6,14,-0.050000,F
  251. @PECN 10,2,-0.050000,F
  252. @PECN 10,6,-0.050000,F
  253. @PECN 10,14,-0.050000,F
  254. @PECN 14,2,-0.050000,F
  255. @PECN 14,6,-0.050000,F
  256. @PECN 14,10,-0.050000,F
  257. @PECN 3,7,-0.050000,F
  258. @PECN 3,11,-0.050000,F
  259. @PECN 3,15,-0.050000,F
  260. @PECN 7,3,-0.050000,F
  261. @PECN 7,11,-0.050000,F
  262. @PECN 7,15,-0.050000,F
  263. @PECN 11,3,-0.050000,F
  264. @PECN 11,7,-0.050000,F
  265. @PECN 11,15,-0.050000,F
  266. @PECN 15,3,-0.050000,F
  267. @PECN 15,7,-0.050000,F
  268. @PECN 15,11,-0.050000,F
  269. =SPEl    n2   ! point at current layer 
  270. @PEVL       0,0.209361
  271. @PEVL       1,0.191335
  272. @PEVL       2,0.199566
  273. @PEVL       3,0.208191
  274. @PEVL       4,0.197034
  275. @PEVL       5,0.208651
  276. @PEVL       6,0.203089
  277. @PEVL       7,0.190421
  278. @PEVL       8,0.200244
  279. @PEVL       9,0.194040
  280. @PEVL       10,0.208800
  281. @PEVL       11,0.194082
  282. @PEVL       12,0.197577
  283. @PEVL       13,0.205862
  284. @PEVL       14,0.195764
  285. @PEVL       15,0.195343
  286.  
  287. !     Excitatory connections within row   
  288.  
  289.  
  290. ! *** Bias layer Definition ***
  291. !       *** Build the feed-back layer ***
  292.  
  293. @LLdf                           !start with default layer again
  294. =LDsp 3
  295. =LDln   "Inh"                   !accumulate inhibitions
  296. =Lpes   4                       !4 PEs
  297. =x      10                      !shift left for this one
  298. =y      290                      !up higher on display
  299. =Lscl -0.010000            ! add scale
  300. =Loff 0.010000            ! add offset
  301. @LAdd
  302. +x      30                      !shift back right again
  303. =cnwt   1.0                     !weight of one
  304. =cnty   WFix                    !fixed
  305. =cnsc   WAbs                    !absolute
  306.  
  307. =NPEn   0
  308. =NPEl   n0
  309. @NrPE
  310. =SPEn   0
  311. =SPEl   LayN
  312. @SlPE
  313. @PECN 0,0,1.000000,F
  314.  
  315. !       *** Connect its output to the Hopfield Layer input ***
  316.  
  317. =NPEl   LayN                    !current layer
  318. @NrPE
  319. =SPEl   n0                      !connect to hopfield layer
  320. @SlPE
  321. @PECN 0,0,1.000000,F
  322.  
  323. =NPEn   0
  324. =NPEl   n0
  325. @NrPE
  326. =SPEn   0
  327. =SPEl   LayN
  328. @SlPE
  329. @PECN 1,0,1.000000,F
  330.  
  331. !       *** Connect its output to the Hopfield Layer input ***
  332.  
  333. =NPEl   LayN                    !current layer
  334. @NrPE
  335. =SPEl   n0                      !connect to hopfield layer
  336. @SlPE
  337. @PECN 0,1,1.000000,F
  338.  
  339. =NPEn   0
  340. =NPEl   n0
  341. @NrPE
  342. =SPEn   0
  343. =SPEl   LayN
  344. @SlPE
  345. @PECN 2,0,1.000000,F
  346.  
  347. !       *** Connect its output to the Hopfield Layer input ***
  348.  
  349. =NPEl   LayN                    !current layer
  350. @NrPE
  351. =SPEl   n0                      !connect to hopfield layer
  352. @SlPE
  353. @PECN 0,2,1.000000,F
  354.  
  355. =NPEn   0
  356. =NPEl   n0
  357. @NrPE
  358. =SPEn   0
  359. =SPEl   LayN
  360. @SlPE
  361. @PECN 3,0,1.000000,F
  362.  
  363. !       *** Connect its output to the Hopfield Layer input ***
  364.  
  365. =NPEl   LayN                    !current layer
  366. @NrPE
  367. =SPEl   n0                      !connect to hopfield layer
  368. @SlPE
  369. @PECN 0,3,1.000000,F
  370.  
  371. =NPEn   0
  372. =NPEl   n0
  373. @NrPE
  374. =SPEn   0
  375. =SPEl   LayN
  376. @SlPE
  377. @PECN 0,1,1.000000,F
  378.  
  379. !       *** Connect its output to the Hopfield Layer input ***
  380.  
  381. =NPEl   LayN                    !current layer
  382. @NrPE
  383. =SPEl   n0                      !connect to hopfield layer
  384. @SlPE
  385. @PECN 1,0,1.000000,F
  386.  
  387. =NPEn   0
  388. =NPEl   n0
  389. @NrPE
  390. =SPEn   0
  391. =SPEl   LayN
  392. @SlPE
  393. @PECN 1,1,1.000000,F
  394.  
  395. !       *** Connect its output to the Hopfield Layer input ***
  396.  
  397. =NPEl   LayN                    !current layer
  398. @NrPE
  399. =SPEl   n0                      !connect to hopfield layer
  400. @SlPE
  401. @PECN 1,1,1.000000,F
  402.  
  403. =NPEn   0
  404. =NPEl   n0
  405. @NrPE
  406. =SPEn   0
  407. =SPEl   LayN
  408. @SlPE
  409. @PECN 2,1,1.000000,F
  410.  
  411. !       *** Connect its output to the Hopfield Layer input ***
  412.  
  413. =NPEl   LayN                    !current layer
  414. @NrPE
  415. =SPEl   n0                      !connect to hopfield layer
  416. @SlPE
  417. @PECN 1,2,1.000000,F
  418.  
  419. =NPEn   0
  420. =NPEl   n0
  421. @NrPE
  422. =SPEn   0
  423. =SPEl   LayN
  424. @SlPE
  425. @PECN 3,1,1.000000,F
  426.  
  427. !       *** Connect its output to the Hopfield Layer input ***
  428.  
  429. =NPEl   LayN                    !current layer
  430. @NrPE
  431. =SPEl   n0                      !connect to hopfield layer
  432. @SlPE
  433. @PECN 1,3,1.000000,F
  434.  
  435. =NPEn   0
  436. =NPEl   n0
  437. @NrPE
  438. =SPEn   0
  439. =SPEl   LayN
  440. @SlPE
  441. @PECN 0,2,1.000000,F
  442.  
  443. !       *** Connect its output to the Hopfield Layer input ***
  444.  
  445. =NPEl   LayN                    !current layer
  446. @NrPE
  447. =SPEl   n0                      !connect to hopfield layer
  448. @SlPE
  449. @PECN 2,0,1.000000,F
  450.  
  451. =NPEn   0
  452. =NPEl   n0
  453. @NrPE
  454. =SPEn   0
  455. =SPEl   LayN
  456. @SlPE
  457. @PECN 1,2,1.000000,F
  458.  
  459. !       *** Connect its output to the Hopfield Layer input ***
  460.  
  461. =NPEl   LayN                    !current layer
  462. @NrPE
  463. =SPEl   n0                      !connect to hopfield layer
  464. @SlPE
  465. @PECN 2,1,1.000000,F
  466.  
  467. =NPEn   0
  468. =NPEl   n0
  469. @NrPE
  470. =SPEn   0
  471. =SPEl   LayN
  472. @SlPE
  473. @PECN 2,2,1.000000,F
  474.  
  475. !       *** Connect its output to the Hopfield Layer input ***
  476.  
  477. =NPEl   LayN                    !current layer
  478. @NrPE
  479. =SPEl   n0                      !connect to hopfield layer
  480. @SlPE
  481. @PECN 2,2,1.000000,F
  482.  
  483. =NPEn   0
  484. =NPEl   n0
  485. @NrPE
  486. =SPEn   0
  487. =SPEl   LayN
  488. @SlPE
  489. @PECN 3,2,1.000000,F
  490.  
  491. !       *** Connect its output to the Hopfield Layer input ***
  492.  
  493. =NPEl   LayN                    !current layer
  494. @NrPE
  495. =SPEl   n0                      !connect to hopfield layer
  496. @SlPE
  497. @PECN 2,3,1.000000,F
  498.  
  499. =NPEn   0
  500. =NPEl   n0
  501. @NrPE
  502. =SPEn   0
  503. =SPEl   LayN
  504. @SlPE
  505. @PECN 0,3,1.000000,F
  506.  
  507. !       *** Connect its output to the Hopfield Layer input ***
  508.  
  509. =NPEl   LayN                    !current layer
  510. @NrPE
  511. =SPEl   n0                      !connect to hopfield layer
  512. @SlPE
  513. @PECN 3,0,1.000000,F
  514.  
  515. =NPEn   0
  516. =NPEl   n0
  517. @NrPE
  518. =SPEn   0
  519. =SPEl   LayN
  520. @SlPE
  521. @PECN 1,3,1.000000,F
  522.  
  523. !       *** Connect its output to the Hopfield Layer input ***
  524.  
  525. =NPEl   LayN                    !current layer
  526. @NrPE
  527. =SPEl   n0                      !connect to hopfield layer
  528. @SlPE
  529. @PECN 3,1,1.000000,F
  530.  
  531. =NPEn   0
  532. =NPEl   n0
  533. @NrPE
  534. =SPEn   0
  535. =SPEl   LayN
  536. @SlPE
  537. @PECN 2,3,1.000000,F
  538.  
  539. !       *** Connect its output to the Hopfield Layer input ***
  540.  
  541. =NPEl   LayN                    !current layer
  542. @NrPE
  543. =SPEl   n0                      !connect to hopfield layer
  544. @SlPE
  545. @PECN 3,2,1.000000,F
  546.  
  547. =NPEn   0
  548. =NPEl   n0
  549. @NrPE
  550. =SPEn   0
  551. =SPEl   LayN
  552. @SlPE
  553. @PECN 3,3,1.000000,F
  554.  
  555. !       *** Connect its output to the Hopfield Layer input ***
  556.  
  557. =NPEl   LayN                    !current layer
  558. @NrPE
  559. =SPEl   n0                      !connect to hopfield layer
  560. @SlPE
  561. @PECN 3,3,1.000000,F
  562.  
  563. ! *** Bias layer Definition ***
  564. !       *** Build the feed-back layer ***
  565.  
  566. @LLdf                           !start with default layer again
  567. =LDsp 3
  568. =LDln   "Inh"                   !accumulate inhibitions
  569. =Lpes   4                       !4 PEs
  570. =x      50                      !shift left for this one
  571. =y      290                      !up higher on display
  572. =Lscl -0.010000            ! add scale
  573. =Loff 0.010000            ! add offset
  574. @LAdd
  575. +x      30                      !shift back right again
  576. =cnwt   1.0                     !weight of one
  577. =cnty   WFix                    !fixed
  578. =cnsc   WAbs                    !absolute
  579.  
  580. =NPEn   0
  581. =NPEl   n0
  582. @NrPE
  583. =SPEn   0
  584. =SPEl   LayN
  585. @SlPE
  586. @PECN 4,0,1.000000,F
  587.  
  588. !       *** Connect its output to the Hopfield Layer input ***
  589.  
  590. =NPEl   LayN                    !current layer
  591. @NrPE
  592. =SPEl   n0                      !connect to hopfield layer
  593. @SlPE
  594. @PECN 0,4,1.000000,F
  595.  
  596. =NPEn   0
  597. =NPEl   n0
  598. @NrPE
  599. =SPEn   0
  600. =SPEl   LayN
  601. @SlPE
  602. @PECN 5,0,1.000000,F
  603.  
  604. !       *** Connect its output to the Hopfield Layer input ***
  605.  
  606. =NPEl   LayN                    !current layer
  607. @NrPE
  608. =SPEl   n0                      !connect to hopfield layer
  609. @SlPE
  610. @PECN 0,5,1.000000,F
  611.  
  612. =NPEn   0
  613. =NPEl   n0
  614. @NrPE
  615. =SPEn   0
  616. =SPEl   LayN
  617. @SlPE
  618. @PECN 6,0,1.000000,F
  619.  
  620. !       *** Connect its output to the Hopfield Layer input ***
  621.  
  622. =NPEl   LayN                    !current layer
  623. @NrPE
  624. =SPEl   n0                      !connect to hopfield layer
  625. @SlPE
  626. @PECN 0,6,1.000000,F
  627.  
  628. =NPEn   0
  629. =NPEl   n0
  630. @NrPE
  631. =SPEn   0
  632. =SPEl   LayN
  633. @SlPE
  634. @PECN 7,0,1.000000,F
  635.  
  636. !       *** Connect its output to the Hopfield Layer input ***
  637.  
  638. =NPEl   LayN                    !current layer
  639. @NrPE
  640. =SPEl   n0                      !connect to hopfield layer
  641. @SlPE
  642. @PECN 0,7,1.000000,F
  643.  
  644. =NPEn   0
  645. =NPEl   n0
  646. @NrPE
  647. =SPEn   0
  648. =SPEl   LayN
  649. @SlPE
  650. @PECN 4,1,1.000000,F
  651.  
  652. !       *** Connect its output to the Hopfield Layer input ***
  653.  
  654. =NPEl   LayN                    !current layer
  655. @NrPE
  656. =SPEl   n0                      !connect to hopfield layer
  657. @SlPE
  658. @PECN 1,4,1.000000,F
  659.  
  660. =NPEn   0
  661. =NPEl   n0
  662. @NrPE
  663. =SPEn   0
  664. =SPEl   LayN
  665. @SlPE
  666. @PECN 5,1,1.000000,F
  667.  
  668. !       *** Connect its output to the Hopfield Layer input ***
  669.  
  670. =NPEl   LayN                    !current layer
  671. @NrPE
  672. =SPEl   n0                      !connect to hopfield layer
  673. @SlPE
  674. @PECN 1,5,1.000000,F
  675.  
  676. =NPEn   0
  677. =NPEl   n0
  678. @NrPE
  679. =SPEn   0
  680. =SPEl   LayN
  681. @SlPE
  682. @PECN 6,1,1.000000,F
  683.  
  684. !       *** Connect its output to the Hopfield Layer input ***
  685.  
  686. =NPEl   LayN                    !current layer
  687. @NrPE
  688. =SPEl   n0                      !connect to hopfield layer
  689. @SlPE
  690. @PECN 1,6,1.000000,F
  691.  
  692. =NPEn   0
  693. =NPEl   n0
  694. @NrPE
  695. =SPEn   0
  696. =SPEl   LayN
  697. @SlPE
  698. @PECN 7,1,1.000000,F
  699.  
  700. !       *** Connect its output to the Hopfield Layer input ***
  701.  
  702. =NPEl   LayN                    !current layer
  703. @NrPE
  704. =SPEl   n0                      !connect to hopfield layer
  705. @SlPE
  706. @PECN 1,7,1.000000,F
  707.  
  708. =NPEn   0
  709. =NPEl   n0
  710. @NrPE
  711. =SPEn   0
  712. =SPEl   LayN
  713. @SlPE
  714. @PECN 4,2,1.000000,F
  715.  
  716. !       *** Connect its output to the Hopfield Layer input ***
  717.  
  718. =NPEl   LayN                    !current layer
  719. @NrPE
  720. =SPEl   n0                      !connect to hopfield layer
  721. @SlPE
  722. @PECN 2,4,1.000000,F
  723.  
  724. =NPEn   0
  725. =NPEl   n0
  726. @NrPE
  727. =SPEn   0
  728. =SPEl   LayN
  729. @SlPE
  730. @PECN 5,2,1.000000,F
  731.  
  732. !       *** Connect its output to the Hopfield Layer input ***
  733.  
  734. =NPEl   LayN                    !current layer
  735. @NrPE
  736. =SPEl   n0                      !connect to hopfield layer
  737. @SlPE
  738. @PECN 2,5,1.000000,F
  739.  
  740. =NPEn   0
  741. =NPEl   n0
  742. @NrPE
  743. =SPEn   0
  744. =SPEl   LayN
  745. @SlPE
  746. @PECN 6,2,1.000000,F
  747.  
  748. !       *** Connect its output to the Hopfield Layer input ***
  749.  
  750. =NPEl   LayN                    !current layer
  751. @NrPE
  752. =SPEl   n0                      !connect to hopfield layer
  753. @SlPE
  754. @PECN 2,6,1.000000,F
  755.  
  756. =NPEn   0
  757. =NPEl   n0
  758. @NrPE
  759. =SPEn   0
  760. =SPEl   LayN
  761. @SlPE
  762. @PECN 7,2,1.000000,F
  763.  
  764. !       *** Connect its output to the Hopfield Layer input ***
  765.  
  766. =NPEl   LayN                    !current layer
  767. @NrPE
  768. =SPEl   n0                      !connect to hopfield layer
  769. @SlPE
  770. @PECN 2,7,1.000000,F
  771.  
  772. =NPEn   0
  773. =NPEl   n0
  774. @NrPE
  775. =SPEn   0
  776. =SPEl   LayN
  777. @SlPE
  778. @PECN 4,3,1.000000,F
  779.  
  780. !       *** Connect its output to the Hopfield Layer input ***
  781.  
  782. =NPEl   LayN                    !current layer
  783. @NrPE
  784. =SPEl   n0                      !connect to hopfield layer
  785. @SlPE
  786. @PECN 3,4,1.000000,F
  787.  
  788. =NPEn   0
  789. =NPEl   n0
  790. @NrPE
  791. =SPEn   0
  792. =SPEl   LayN
  793. @SlPE
  794. @PECN 5,3,1.000000,F
  795.  
  796. !       *** Connect its output to the Hopfield Layer input ***
  797.  
  798. =NPEl   LayN                    !current layer
  799. @NrPE
  800. =SPEl   n0                      !connect to hopfield layer
  801. @SlPE
  802. @PECN 3,5,1.000000,F
  803.  
  804. =NPEn   0
  805. =NPEl   n0
  806. @NrPE
  807. =SPEn   0
  808. =SPEl   LayN
  809. @SlPE
  810. @PECN 6,3,1.000000,F
  811.  
  812. !       *** Connect its output to the Hopfield Layer input ***
  813.  
  814. =NPEl   LayN                    !current layer
  815. @NrPE
  816. =SPEl   n0                      !connect to hopfield layer
  817. @SlPE
  818. @PECN 3,6,1.000000,F
  819.  
  820. =NPEn   0
  821. =NPEl   n0
  822. @NrPE
  823. =SPEn   0
  824. =SPEl   LayN
  825. @SlPE
  826. @PECN 7,3,1.000000,F
  827.  
  828. !       *** Connect its output to the Hopfield Layer input ***
  829.  
  830. =NPEl   LayN                    !current layer
  831. @NrPE
  832. =SPEl   n0                      !connect to hopfield layer
  833. @SlPE
  834. @PECN 3,7,1.000000,F
  835.  
  836. ! *** Bias layer Definition ***
  837. !       *** Build the feed-back layer ***
  838.  
  839. @LLdf                           !start with default layer again
  840. =LDsp 3
  841. =LDln   "Inh"                   !accumulate inhibitions
  842. =Lpes   4                       !4 PEs
  843. =x      90                      !shift left for this one
  844. =y      290                      !up higher on display
  845. =Lscl -0.010000            ! add scale
  846. =Loff 0.010000            ! add offset
  847. @LAdd
  848. +x      30                      !shift back right again
  849. =cnwt   1.0                     !weight of one
  850. =cnty   WFix                    !fixed
  851. =cnsc   WAbs                    !absolute
  852.  
  853. =NPEn   0
  854. =NPEl   n0
  855. @NrPE
  856. =SPEn   0
  857. =SPEl   LayN
  858. @SlPE
  859. @PECN 8,0,1.000000,F
  860.  
  861. !       *** Connect its output to the Hopfield Layer input ***
  862.  
  863. =NPEl   LayN                    !current layer
  864. @NrPE
  865. =SPEl   n0                      !connect to hopfield layer
  866. @SlPE
  867. @PECN 0,8,1.000000,F
  868.  
  869. =NPEn   0
  870. =NPEl   n0
  871. @NrPE
  872. =SPEn   0
  873. =SPEl   LayN
  874. @SlPE
  875. @PECN 9,0,1.000000,F
  876.  
  877. !       *** Connect its output to the Hopfield Layer input ***
  878.  
  879. =NPEl   LayN                    !current layer
  880. @NrPE
  881. =SPEl   n0                      !connect to hopfield layer
  882. @SlPE
  883. @PECN 0,9,1.000000,F
  884.  
  885. =NPEn   0
  886. =NPEl   n0
  887. @NrPE
  888. =SPEn   0
  889. =SPEl   LayN
  890. @SlPE
  891. @PECN 10,0,1.000000,F
  892.  
  893. !       *** Connect its output to the Hopfield Layer input ***
  894.  
  895. =NPEl   LayN                    !current layer
  896. @NrPE
  897. =SPEl   n0                      !connect to hopfield layer
  898. @SlPE
  899. @PECN 0,10,1.000000,F
  900.  
  901. =NPEn   0
  902. =NPEl   n0
  903. @NrPE
  904. =SPEn   0
  905. =SPEl   LayN
  906. @SlPE
  907. @PECN 11,0,1.000000,F
  908.  
  909. !       *** Connect its output to the Hopfield Layer input ***
  910.  
  911. =NPEl   LayN                    !current layer
  912. @NrPE
  913. =SPEl   n0                      !connect to hopfield layer
  914. @SlPE
  915. @PECN 0,11,1.000000,F
  916.  
  917. =NPEn   0
  918. =NPEl   n0
  919. @NrPE
  920. =SPEn   0
  921. =SPEl   LayN
  922. @SlPE
  923. @PECN 8,1,1.000000,F
  924.  
  925. !       *** Connect its output to the Hopfield Layer input ***
  926.  
  927. =NPEl   LayN                    !current layer
  928. @NrPE
  929. =SPEl   n0                      !connect to hopfield layer
  930. @SlPE
  931. @PECN 1,8,1.000000,F
  932.  
  933. =NPEn   0
  934. =NPEl   n0
  935. @NrPE
  936. =SPEn   0
  937. =SPEl   LayN
  938. @SlPE
  939. @PECN 9,1,1.000000,F
  940.  
  941. !       *** Connect its output to the Hopfield Layer input ***
  942.  
  943. =NPEl   LayN                    !current layer
  944. @NrPE
  945. =SPEl   n0                      !connect to hopfield layer
  946. @SlPE
  947. @PECN 1,9,1.000000,F
  948.  
  949. =NPEn   0
  950. =NPEl   n0
  951. @NrPE
  952. =SPEn   0
  953. =SPEl   LayN
  954. @SlPE
  955. @PECN 10,1,1.000000,F
  956.  
  957. !       *** Connect its output to the Hopfield Layer input ***
  958.  
  959. =NPEl   LayN                    !current layer
  960. @NrPE
  961. =SPEl   n0                      !connect to hopfield layer
  962. @SlPE
  963. @PECN 1,10,1.000000,F
  964.  
  965. =NPEn   0
  966. =NPEl   n0
  967. @NrPE
  968. =SPEn   0
  969. =SPEl   LayN
  970. @SlPE
  971. @PECN 11,1,1.000000,F
  972.  
  973. !       *** Connect its output to the Hopfield Layer input ***
  974.  
  975. =NPEl   LayN                    !current layer
  976. @NrPE
  977. =SPEl   n0                      !connect to hopfield layer
  978. @SlPE
  979. @PECN 1,11,1.000000,F
  980.  
  981. =NPEn   0
  982. =NPEl   n0
  983. @NrPE
  984. =SPEn   0
  985. =SPEl   LayN
  986. @SlPE
  987. @PECN 8,2,1.000000,F
  988.  
  989. !       *** Connect its output to the Hopfield Layer input ***
  990.  
  991. =NPEl   LayN                    !current layer
  992. @NrPE
  993. =SPEl   n0                      !connect to hopfield layer
  994. @SlPE
  995. @PECN 2,8,1.000000,F
  996.  
  997. =NPEn   0
  998. =NPEl   n0
  999. @NrPE
  1000. =SPEn   0
  1001. =SPEl   LayN
  1002. @SlPE
  1003. @PECN 9,2,1.000000,F
  1004.  
  1005. !       *** Connect its output to the Hopfield Layer input ***
  1006.  
  1007. =NPEl   LayN                    !current layer
  1008. @NrPE
  1009. =SPEl   n0                      !connect to hopfield layer
  1010. @SlPE
  1011. @PECN 2,9,1.000000,F
  1012.  
  1013. =NPEn   0
  1014. =NPEl   n0
  1015. @NrPE
  1016. =SPEn   0
  1017. =SPEl   LayN
  1018. @SlPE
  1019. @PECN 10,2,1.000000,F
  1020.  
  1021. !       *** Connect its output to the Hopfield Layer input ***
  1022.  
  1023. =NPEl   LayN                    !current layer
  1024. @NrPE
  1025. =SPEl   n0                      !connect to hopfield layer
  1026. @SlPE
  1027. @PECN 2,10,1.000000,F
  1028.  
  1029. =NPEn   0
  1030. =NPEl   n0
  1031. @NrPE
  1032. =SPEn   0
  1033. =SPEl   LayN
  1034. @SlPE
  1035. @PECN 11,2,1.000000,F
  1036.  
  1037. !       *** Connect its output to the Hopfield Layer input ***
  1038.  
  1039. =NPEl   LayN                    !current layer
  1040. @NrPE
  1041. =SPEl   n0                      !connect to hopfield layer
  1042. @SlPE
  1043. @PECN 2,11,1.000000,F
  1044.  
  1045. =NPEn   0
  1046. =NPEl   n0
  1047. @NrPE
  1048. =SPEn   0
  1049. =SPEl   LayN
  1050. @SlPE
  1051. @PECN 8,3,1.000000,F
  1052.  
  1053. !       *** Connect its output to the Hopfield Layer input ***
  1054.  
  1055. =NPEl   LayN                    !current layer
  1056. @NrPE
  1057. =SPEl   n0                      !connect to hopfield layer
  1058. @SlPE
  1059. @PECN 3,8,1.000000,F
  1060.  
  1061. =NPEn   0
  1062. =NPEl   n0
  1063. @NrPE
  1064. =SPEn   0
  1065. =SPEl   LayN
  1066. @SlPE
  1067. @PECN 9,3,1.000000,F
  1068.  
  1069. !       *** Connect its output to the Hopfield Layer input ***
  1070.  
  1071. =NPEl   LayN                    !current layer
  1072. @NrPE
  1073. =SPEl   n0                      !connect to hopfield layer
  1074. @SlPE
  1075. @PECN 3,9,1.000000,F
  1076.  
  1077. =NPEn   0
  1078. =NPEl   n0
  1079. @NrPE
  1080. =SPEn   0
  1081. =SPEl   LayN
  1082. @SlPE
  1083. @PECN 10,3,1.000000,F
  1084.  
  1085. !       *** Connect its output to the Hopfield Layer input ***
  1086.  
  1087. =NPEl   LayN                    !current layer
  1088. @NrPE
  1089. =SPEl   n0                      !connect to hopfield layer
  1090. @SlPE
  1091. @PECN 3,10,1.000000,F
  1092.  
  1093. =NPEn   0
  1094. =NPEl   n0
  1095. @NrPE
  1096. =SPEn   0
  1097. =SPEl   LayN
  1098. @SlPE
  1099. @PECN 11,3,1.000000,F
  1100.  
  1101. !       *** Connect its output to the Hopfield Layer input ***
  1102.  
  1103. =NPEl   LayN                    !current layer
  1104. @NrPE
  1105. =SPEl   n0                      !connect to hopfield layer
  1106. @SlPE
  1107. @PECN 3,11,1.000000,F
  1108.  
  1109. ! *** Bias layer Definition ***
  1110. !       *** Build the feed-back layer ***
  1111.  
  1112. @LLdf                           !start with default layer again
  1113. =LDsp 3
  1114. =LDln   "Inh"                   !accumulate inhibitions
  1115. =Lpes   4                       !4 PEs
  1116. =x      130                      !shift left for this one
  1117. =y      290                      !up higher on display
  1118. =Lscl -0.010000            ! add scale
  1119. =Loff 0.010000            ! add offset
  1120. @LAdd
  1121. +x      30                      !shift back right again
  1122. =cnwt   1.0                     !weight of one
  1123. =cnty   WFix                    !fixed
  1124. =cnsc   WAbs                    !absolute
  1125.  
  1126. =NPEn   0
  1127. =NPEl   n0
  1128. @NrPE
  1129. =SPEn   0
  1130. =SPEl   LayN
  1131. @SlPE
  1132. @PECN 12,0,1.000000,F
  1133.  
  1134. !       *** Connect its output to the Hopfield Layer input ***
  1135.  
  1136. =NPEl   LayN                    !current layer
  1137. @NrPE
  1138. =SPEl   n0                      !connect to hopfield layer
  1139. @SlPE
  1140. @PECN 0,12,1.000000,F
  1141.  
  1142. =NPEn   0
  1143. =NPEl   n0
  1144. @NrPE
  1145. =SPEn   0
  1146. =SPEl   LayN
  1147. @SlPE
  1148. @PECN 13,0,1.000000,F
  1149.  
  1150. !       *** Connect its output to the Hopfield Layer input ***
  1151.  
  1152. =NPEl   LayN                    !current layer
  1153. @NrPE
  1154. =SPEl   n0                      !connect to hopfield layer
  1155. @SlPE
  1156. @PECN 0,13,1.000000,F
  1157.  
  1158. =NPEn   0
  1159. =NPEl   n0
  1160. @NrPE
  1161. =SPEn   0
  1162. =SPEl   LayN
  1163. @SlPE
  1164. @PECN 14,0,1.000000,F
  1165.  
  1166. !       *** Connect its output to the Hopfield Layer input ***
  1167.  
  1168. =NPEl   LayN                    !current layer
  1169. @NrPE
  1170. =SPEl   n0                      !connect to hopfield layer
  1171. @SlPE
  1172. @PECN 0,14,1.000000,F
  1173.  
  1174. =NPEn   0
  1175. =NPEl   n0
  1176. @NrPE
  1177. =SPEn   0
  1178. =SPEl   LayN
  1179. @SlPE
  1180. @PECN 15,0,1.000000,F
  1181.  
  1182. !       *** Connect its output to the Hopfield Layer input ***
  1183.  
  1184. =NPEl   LayN                    !current layer
  1185. @NrPE
  1186. =SPEl   n0                      !connect to hopfield layer
  1187. @SlPE
  1188. @PECN 0,15,1.000000,F
  1189.  
  1190. =NPEn   0
  1191. =NPEl   n0
  1192. @NrPE
  1193. =SPEn   0
  1194. =SPEl   LayN
  1195. @SlPE
  1196. @PECN 12,1,1.000000,F
  1197.  
  1198. !       *** Connect its output to the Hopfield Layer input ***
  1199.  
  1200. =NPEl   LayN                    !current layer
  1201. @NrPE
  1202. =SPEl   n0                      !connect to hopfield layer
  1203. @SlPE
  1204. @PECN 1,12,1.000000,F
  1205.  
  1206. =NPEn   0
  1207. =NPEl   n0
  1208. @NrPE
  1209. =SPEn   0
  1210. =SPEl   LayN
  1211. @SlPE
  1212. @PECN 13,1,1.000000,F
  1213.  
  1214. !       *** Connect its output to the Hopfield Layer input ***
  1215.  
  1216. =NPEl   LayN                    !current layer
  1217. @NrPE
  1218. =SPEl   n0                      !connect to hopfield layer
  1219. @SlPE
  1220. @PECN 1,13,1.000000,F
  1221.  
  1222. =NPEn   0
  1223. =NPEl   n0
  1224. @NrPE
  1225. =SPEn   0
  1226. =SPEl   LayN
  1227. @SlPE
  1228. @PECN 14,1,1.000000,F
  1229.  
  1230. !       *** Connect its output to the Hopfield Layer input ***
  1231.  
  1232. =NPEl   LayN                    !current layer
  1233. @NrPE
  1234. =SPEl   n0                      !connect to hopfield layer
  1235. @SlPE
  1236. @PECN 1,14,1.000000,F
  1237.  
  1238. =NPEn   0
  1239. =NPEl   n0
  1240. @NrPE
  1241. =SPEn   0
  1242. =SPEl   LayN
  1243. @SlPE
  1244. @PECN 15,1,1.000000,F
  1245.  
  1246. !       *** Connect its output to the Hopfield Layer input ***
  1247.  
  1248. =NPEl   LayN                    !current layer
  1249. @NrPE
  1250. =SPEl   n0                      !connect to hopfield layer
  1251. @SlPE
  1252. @PECN 1,15,1.000000,F
  1253.  
  1254. =NPEn   0
  1255. =NPEl   n0
  1256. @NrPE
  1257. =SPEn   0
  1258. =SPEl   LayN
  1259. @SlPE
  1260. @PECN 12,2,1.000000,F
  1261.  
  1262. !       *** Connect its output to the Hopfield Layer input ***
  1263.  
  1264. =NPEl   LayN                    !current layer
  1265. @NrPE
  1266. =SPEl   n0                      !connect to hopfield layer
  1267. @SlPE
  1268. @PECN 2,12,1.000000,F
  1269.  
  1270. =NPEn   0
  1271. =NPEl   n0
  1272. @NrPE
  1273. =SPEn   0
  1274. =SPEl   LayN
  1275. @SlPE
  1276. @PECN 13,2,1.000000,F
  1277.  
  1278. !       *** Connect its output to the Hopfield Layer input ***
  1279.  
  1280. =NPEl   LayN                    !current layer
  1281. @NrPE
  1282. =SPEl   n0                      !connect to hopfield layer
  1283. @SlPE
  1284. @PECN 2,13,1.000000,F
  1285.  
  1286. =NPEn   0
  1287. =NPEl   n0
  1288. @NrPE
  1289. =SPEn   0
  1290. =SPEl   LayN
  1291. @SlPE
  1292. @PECN 14,2,1.000000,F
  1293.  
  1294. !       *** Connect its output to the Hopfield Layer input ***
  1295.  
  1296. =NPEl   LayN                    !current layer
  1297. @NrPE
  1298. =SPEl   n0                      !connect to hopfield layer
  1299. @SlPE
  1300. @PECN 2,14,1.000000,F
  1301.  
  1302. =NPEn   0
  1303. =NPEl   n0
  1304. @NrPE
  1305. =SPEn   0
  1306. =SPEl   LayN
  1307. @SlPE
  1308. @PECN 15,2,1.000000,F
  1309.  
  1310. !       *** Connect its output to the Hopfield Layer input ***
  1311.  
  1312. =NPEl   LayN                    !current layer
  1313. @NrPE
  1314. =SPEl   n0                      !connect to hopfield layer
  1315. @SlPE
  1316. @PECN 2,15,1.000000,F
  1317.  
  1318. =NPEn   0
  1319. =NPEl   n0
  1320. @NrPE
  1321. =SPEn   0
  1322. =SPEl   LayN
  1323. @SlPE
  1324. @PECN 12,3,1.000000,F
  1325.  
  1326. !       *** Connect its output to the Hopfield Layer input ***
  1327.  
  1328. =NPEl   LayN                    !current layer
  1329. @NrPE
  1330. =SPEl   n0                      !connect to hopfield layer
  1331. @SlPE
  1332. @PECN 3,12,1.000000,F
  1333.  
  1334. =NPEn   0
  1335. =NPEl   n0
  1336. @NrPE
  1337. =SPEn   0
  1338. =SPEl   LayN
  1339. @SlPE
  1340. @PECN 13,3,1.000000,F
  1341.  
  1342. !       *** Connect its output to the Hopfield Layer input ***
  1343.  
  1344. =NPEl   LayN                    !current layer
  1345. @NrPE
  1346. =SPEl   n0                      !connect to hopfield layer
  1347. @SlPE
  1348. @PECN 3,13,1.000000,F
  1349.  
  1350. =NPEn   0
  1351. =NPEl   n0
  1352. @NrPE
  1353. =SPEn   0
  1354. =SPEl   LayN
  1355. @SlPE
  1356. @PECN 14,3,1.000000,F
  1357.  
  1358. !       *** Connect its output to the Hopfield Layer input ***
  1359.  
  1360. =NPEl   LayN                    !current layer
  1361. @NrPE
  1362. =SPEl   n0                      !connect to hopfield layer
  1363. @SlPE
  1364. @PECN 3,14,1.000000,F
  1365.  
  1366. =NPEn   0
  1367. =NPEl   n0
  1368. @NrPE
  1369. =SPEn   0
  1370. =SPEl   LayN
  1371. @SlPE
  1372. @PECN 15,3,1.000000,F
  1373.  
  1374. !       *** Connect its output to the Hopfield Layer input ***
  1375.  
  1376. =NPEl   LayN                    !current layer
  1377. @NrPE
  1378. =SPEl   n0                      !connect to hopfield layer
  1379. @SlPE
  1380. @PECN 3,15,1.000000,F
  1381.  
  1382. !     Excitatory connections within column   
  1383.  
  1384.  
  1385. ! *** Bias layer Definition ***
  1386. !       *** Build the feed-back layer ***
  1387.  
  1388. @LLdf                           !start with default layer again
  1389. =LDsp 3
  1390. =LDln   "Inh"                   !accumulate inhibitions
  1391. =Lpes   4                       !4 PEs
  1392. =x      10                      !shift left for this one
  1393. =y      320                      !up higher on display
  1394. =Lscl -0.010000            ! add scale
  1395. =Loff 0.010000            ! add offset
  1396. @LAdd
  1397. +x      30                      !shift back right again
  1398. =cnwt   1.0                     !weight of one
  1399. =cnty   WFix                    !fixed
  1400. =cnsc   WAbs                    !absolute
  1401.  
  1402. =NPEn   0
  1403. =NPEl   n0
  1404. @NrPE
  1405. =SPEn   0
  1406. =SPEl   LayN
  1407. @SlPE
  1408. @PECN 0,0,1.000000,F
  1409.  
  1410. !       *** Connect its output to the Hopfield Layer input ***
  1411.  
  1412. =NPEl   LayN                    !current layer
  1413. @NrPE
  1414. =SPEl   n0                      !connect to hopfield layer
  1415. @SlPE
  1416. @PECN 0,0,1.000000,F
  1417.  
  1418. =NPEn   0
  1419. =NPEl   n0
  1420. @NrPE
  1421. =SPEn   0
  1422. =SPEl   LayN
  1423. @SlPE
  1424. @PECN 4,0,1.000000,F
  1425.  
  1426. !       *** Connect its output to the Hopfield Layer input ***
  1427.  
  1428. =NPEl   LayN                    !current layer
  1429. @NrPE
  1430. =SPEl   n0                      !connect to hopfield layer
  1431. @SlPE
  1432. @PECN 0,4,1.000000,F
  1433.  
  1434. =NPEn   0
  1435. =NPEl   n0
  1436. @NrPE
  1437. =SPEn   0
  1438. =SPEl   LayN
  1439. @SlPE
  1440. @PECN 8,0,1.000000,F
  1441.  
  1442. !       *** Connect its output to the Hopfield Layer input ***
  1443.  
  1444. =NPEl   LayN                    !current layer
  1445. @NrPE
  1446. =SPEl   n0                      !connect to hopfield layer
  1447. @SlPE
  1448. @PECN 0,8,1.000000,F
  1449.  
  1450. =NPEn   0
  1451. =NPEl   n0
  1452. @NrPE
  1453. =SPEn   0
  1454. =SPEl   LayN
  1455. @SlPE
  1456. @PECN 12,0,1.000000,F
  1457.  
  1458. !       *** Connect its output to the Hopfield Layer input ***
  1459.  
  1460. =NPEl   LayN                    !current layer
  1461. @NrPE
  1462. =SPEl   n0                      !connect to hopfield layer
  1463. @SlPE
  1464. @PECN 0,12,1.000000,F
  1465.  
  1466. =NPEn   0
  1467. =NPEl   n0
  1468. @NrPE
  1469. =SPEn   0
  1470. =SPEl   LayN
  1471. @SlPE
  1472. @PECN 0,1,1.000000,F
  1473.  
  1474. !       *** Connect its output to the Hopfield Layer input ***
  1475.  
  1476. =NPEl   LayN                    !current layer
  1477. @NrPE
  1478. =SPEl   n0                      !connect to hopfield layer
  1479. @SlPE
  1480. @PECN 1,0,1.000000,F
  1481.  
  1482. =NPEn   0
  1483. =NPEl   n0
  1484. @NrPE
  1485. =SPEn   0
  1486. =SPEl   LayN
  1487. @SlPE
  1488. @PECN 4,1,1.000000,F
  1489.  
  1490. !       *** Connect its output to the Hopfield Layer input ***
  1491.  
  1492. =NPEl   LayN                    !current layer
  1493. @NrPE
  1494. =SPEl   n0                      !connect to hopfield layer
  1495. @SlPE
  1496. @PECN 1,4,1.000000,F
  1497.  
  1498. =NPEn   0
  1499. =NPEl   n0
  1500. @NrPE
  1501. =SPEn   0
  1502. =SPEl   LayN
  1503. @SlPE
  1504. @PECN 8,1,1.000000,F
  1505.  
  1506. !       *** Connect its output to the Hopfield Layer input ***
  1507.  
  1508. =NPEl   LayN                    !current layer
  1509. @NrPE
  1510. =SPEl   n0                      !connect to hopfield layer
  1511. @SlPE
  1512. @PECN 1,8,1.000000,F
  1513.  
  1514. =NPEn   0
  1515. =NPEl   n0
  1516. @NrPE
  1517. =SPEn   0
  1518. =SPEl   LayN
  1519. @SlPE
  1520. @PECN 12,1,1.000000,F
  1521.  
  1522. !       *** Connect its output to the Hopfield Layer input ***
  1523.  
  1524. =NPEl   LayN                    !current layer
  1525. @NrPE
  1526. =SPEl   n0                      !connect to hopfield layer
  1527. @SlPE
  1528. @PECN 1,12,1.000000,F
  1529.  
  1530. =NPEn   0
  1531. =NPEl   n0
  1532. @NrPE
  1533. =SPEn   0
  1534. =SPEl   LayN
  1535. @SlPE
  1536. @PECN 0,2,1.000000,F
  1537.  
  1538. !       *** Connect its output to the Hopfield Layer input ***
  1539.  
  1540. =NPEl   LayN                    !current layer
  1541. @NrPE
  1542. =SPEl   n0                      !connect to hopfield layer
  1543. @SlPE
  1544. @PECN 2,0,1.000000,F
  1545.  
  1546. =NPEn   0
  1547. =NPEl   n0
  1548. @NrPE
  1549. =SPEn   0
  1550. =SPEl   LayN
  1551. @SlPE
  1552. @PECN 4,2,1.000000,F
  1553.  
  1554. !       *** Connect its output to the Hopfield Layer input ***
  1555.  
  1556. =NPEl   LayN                    !current layer
  1557. @NrPE
  1558. =SPEl   n0                      !connect to hopfield layer
  1559. @SlPE
  1560. @PECN 2,4,1.000000,F
  1561.  
  1562. =NPEn   0
  1563. =NPEl   n0
  1564. @NrPE
  1565. =SPEn   0
  1566. =SPEl   LayN
  1567. @SlPE
  1568. @PECN 8,2,1.000000,F
  1569.  
  1570. !       *** Connect its output to the Hopfield Layer input ***
  1571.  
  1572. =NPEl   LayN                    !current layer
  1573. @NrPE
  1574. =SPEl   n0                      !connect to hopfield layer
  1575. @SlPE
  1576. @PECN 2,8,1.000000,F
  1577.  
  1578. =NPEn   0
  1579. =NPEl   n0
  1580. @NrPE
  1581. =SPEn   0
  1582. =SPEl   LayN
  1583. @SlPE
  1584. @PECN 12,2,1.000000,F
  1585.  
  1586. !       *** Connect its output to the Hopfield Layer input ***
  1587.  
  1588. =NPEl   LayN                    !current layer
  1589. @NrPE
  1590. =SPEl   n0                      !connect to hopfield layer
  1591. @SlPE
  1592. @PECN 2,12,1.000000,F
  1593.  
  1594. =NPEn   0
  1595. =NPEl   n0
  1596. @NrPE
  1597. =SPEn   0
  1598. =SPEl   LayN
  1599. @SlPE
  1600. @PECN 0,3,1.000000,F
  1601.  
  1602. !       *** Connect its output to the Hopfield Layer input ***
  1603.  
  1604. =NPEl   LayN                    !current layer
  1605. @NrPE
  1606. =SPEl   n0                      !connect to hopfield layer
  1607. @SlPE
  1608. @PECN 3,0,1.000000,F
  1609.  
  1610. =NPEn   0
  1611. =NPEl   n0
  1612. @NrPE
  1613. =SPEn   0
  1614. =SPEl   LayN
  1615. @SlPE
  1616. @PECN 4,3,1.000000,F
  1617.  
  1618. !       *** Connect its output to the Hopfield Layer input ***
  1619.  
  1620. =NPEl   LayN                    !current layer
  1621. @NrPE
  1622. =SPEl   n0                      !connect to hopfield layer
  1623. @SlPE
  1624. @PECN 3,4,1.000000,F
  1625.  
  1626. =NPEn   0
  1627. =NPEl   n0
  1628. @NrPE
  1629. =SPEn   0
  1630. =SPEl   LayN
  1631. @SlPE
  1632. @PECN 8,3,1.000000,F
  1633.  
  1634. !       *** Connect its output to the Hopfield Layer input ***
  1635.  
  1636. =NPEl   LayN                    !current layer
  1637. @NrPE
  1638. =SPEl   n0                      !connect to hopfield layer
  1639. @SlPE
  1640. @PECN 3,8,1.000000,F
  1641.  
  1642. =NPEn   0
  1643. =NPEl   n0
  1644. @NrPE
  1645. =SPEn   0
  1646. =SPEl   LayN
  1647. @SlPE
  1648. @PECN 12,3,1.000000,F
  1649.  
  1650. !       *** Connect its output to the Hopfield Layer input ***
  1651.  
  1652. =NPEl   LayN                    !current layer
  1653. @NrPE
  1654. =SPEl   n0                      !connect to hopfield layer
  1655. @SlPE
  1656. @PECN 3,12,1.000000,F
  1657.  
  1658. ! *** Bias layer Definition ***
  1659. !       *** Build the feed-back layer ***
  1660.  
  1661. @LLdf                           !start with default layer again
  1662. =LDsp 3
  1663. =LDln   "Inh"                   !accumulate inhibitions
  1664. =Lpes   4                       !4 PEs
  1665. =x      50                      !shift left for this one
  1666. =y      320                      !up higher on display
  1667. =Lscl -0.010000            ! add scale
  1668. =Loff 0.010000            ! add offset
  1669. @LAdd
  1670. +x      30                      !shift back right again
  1671. =cnwt   1.0                     !weight of one
  1672. =cnty   WFix                    !fixed
  1673. =cnsc   WAbs                    !absolute
  1674.  
  1675. =NPEn   0
  1676. =NPEl   n0
  1677. @NrPE
  1678. =SPEn   0
  1679. =SPEl   LayN
  1680. @SlPE
  1681. @PECN 1,0,1.000000,F
  1682.  
  1683. !       *** Connect its output to the Hopfield Layer input ***
  1684.  
  1685. =NPEl   LayN                    !current layer
  1686. @NrPE
  1687. =SPEl   n0                      !connect to hopfield layer
  1688. @SlPE
  1689. @PECN 0,1,1.000000,F
  1690.  
  1691. =NPEn   0
  1692. =NPEl   n0
  1693. @NrPE
  1694. =SPEn   0
  1695. =SPEl   LayN
  1696. @SlPE
  1697. @PECN 5,0,1.000000,F
  1698.  
  1699. !       *** Connect its output to the Hopfield Layer input ***
  1700.  
  1701. =NPEl   LayN                    !current layer
  1702. @NrPE
  1703. =SPEl   n0                      !connect to hopfield layer
  1704. @SlPE
  1705. @PECN 0,5,1.000000,F
  1706.  
  1707. =NPEn   0
  1708. =NPEl   n0
  1709. @NrPE
  1710. =SPEn   0
  1711. =SPEl   LayN
  1712. @SlPE
  1713. @PECN 9,0,1.000000,F
  1714.  
  1715. !       *** Connect its output to the Hopfield Layer input ***
  1716.  
  1717. =NPEl   LayN                    !current layer
  1718. @NrPE
  1719. =SPEl   n0                      !connect to hopfield layer
  1720. @SlPE
  1721. @PECN 0,9,1.000000,F
  1722.  
  1723. =NPEn   0
  1724. =NPEl   n0
  1725. @NrPE
  1726. =SPEn   0
  1727. =SPEl   LayN
  1728. @SlPE
  1729. @PECN 13,0,1.000000,F
  1730.  
  1731. !       *** Connect its output to the Hopfield Layer input ***
  1732.  
  1733. =NPEl   LayN                    !current layer
  1734. @NrPE
  1735. =SPEl   n0                      !connect to hopfield layer
  1736. @SlPE
  1737. @PECN 0,13,1.000000,F
  1738.  
  1739. =NPEn   0
  1740. =NPEl   n0
  1741. @NrPE
  1742. =SPEn   0
  1743. =SPEl   LayN
  1744. @SlPE
  1745. @PECN 1,1,1.000000,F
  1746.  
  1747. !       *** Connect its output to the Hopfield Layer input ***
  1748.  
  1749. =NPEl   LayN                    !current layer
  1750. @NrPE
  1751. =SPEl   n0                      !connect to hopfield layer
  1752. @SlPE
  1753. @PECN 1,1,1.000000,F
  1754.  
  1755. =NPEn   0
  1756. =NPEl   n0
  1757. @NrPE
  1758. =SPEn   0
  1759. =SPEl   LayN
  1760. @SlPE
  1761. @PECN 5,1,1.000000,F
  1762.  
  1763. !       *** Connect its output to the Hopfield Layer input ***
  1764.  
  1765. =NPEl   LayN                    !current layer
  1766. @NrPE
  1767. =SPEl   n0                      !connect to hopfield layer
  1768. @SlPE
  1769. @PECN 1,5,1.000000,F
  1770.  
  1771. =NPEn   0
  1772. =NPEl   n0
  1773. @NrPE
  1774. =SPEn   0
  1775. =SPEl   LayN
  1776. @SlPE
  1777. @PECN 9,1,1.000000,F
  1778.  
  1779. !       *** Connect its output to the Hopfield Layer input ***
  1780.  
  1781. =NPEl   LayN                    !current layer
  1782. @NrPE
  1783. =SPEl   n0                      !connect to hopfield layer
  1784. @SlPE
  1785. @PECN 1,9,1.000000,F
  1786.  
  1787. =NPEn   0
  1788. =NPEl   n0
  1789. @NrPE
  1790. =SPEn   0
  1791. =SPEl   LayN
  1792. @SlPE
  1793. @PECN 13,1,1.000000,F
  1794.  
  1795. !       *** Connect its output to the Hopfield Layer input ***
  1796.  
  1797. =NPEl   LayN                    !current layer
  1798. @NrPE
  1799. =SPEl   n0                      !connect to hopfield layer
  1800. @SlPE
  1801. @PECN 1,13,1.000000,F
  1802.  
  1803. =NPEn   0
  1804. =NPEl   n0
  1805. @NrPE
  1806. =SPEn   0
  1807. =SPEl   LayN
  1808. @SlPE
  1809. @PECN 1,2,1.000000,F
  1810.  
  1811. !       *** Connect its output to the Hopfield Layer input ***
  1812.  
  1813. =NPEl   LayN                    !current layer
  1814. @NrPE
  1815. =SPEl   n0                      !connect to hopfield layer
  1816. @SlPE
  1817. @PECN 2,1,1.000000,F
  1818.  
  1819. =NPEn   0
  1820. =NPEl   n0
  1821. @NrPE
  1822. =SPEn   0
  1823. =SPEl   LayN
  1824. @SlPE
  1825. @PECN 5,2,1.000000,F
  1826.  
  1827. !       *** Connect its output to the Hopfield Layer input ***
  1828.  
  1829. =NPEl   LayN                    !current layer
  1830. @NrPE
  1831. =SPEl   n0                      !connect to hopfield layer
  1832. @SlPE
  1833. @PECN 2,5,1.000000,F
  1834.  
  1835. =NPEn   0
  1836. =NPEl   n0
  1837. @NrPE
  1838. =SPEn   0
  1839. =SPEl   LayN
  1840. @SlPE
  1841. @PECN 9,2,1.000000,F
  1842.  
  1843. !       *** Connect its output to the Hopfield Layer input ***
  1844.  
  1845. =NPEl   LayN                    !current layer
  1846. @NrPE
  1847. =SPEl   n0                      !connect to hopfield layer
  1848. @SlPE
  1849. @PECN 2,9,1.000000,F
  1850.  
  1851. =NPEn   0
  1852. =NPEl   n0
  1853. @NrPE
  1854. =SPEn   0
  1855. =SPEl   LayN
  1856. @SlPE
  1857. @PECN 13,2,1.000000,F
  1858.  
  1859. !       *** Connect its output to the Hopfield Layer input ***
  1860.  
  1861. =NPEl   LayN                    !current layer
  1862. @NrPE
  1863. =SPEl   n0                      !connect to hopfield layer
  1864. @SlPE
  1865. @PECN 2,13,1.000000,F
  1866.  
  1867. =NPEn   0
  1868. =NPEl   n0
  1869. @NrPE
  1870. =SPEn   0
  1871. =SPEl   LayN
  1872. @SlPE
  1873. @PECN 1,3,1.000000,F
  1874.  
  1875. !       *** Connect its output to the Hopfield Layer input ***
  1876.  
  1877. =NPEl   LayN                    !current layer
  1878. @NrPE
  1879. =SPEl   n0                      !connect to hopfield layer
  1880. @SlPE
  1881. @PECN 3,1,1.000000,F
  1882.  
  1883. =NPEn   0
  1884. =NPEl   n0
  1885. @NrPE
  1886. =SPEn   0
  1887. =SPEl   LayN
  1888. @SlPE
  1889. @PECN 5,3,1.000000,F
  1890.  
  1891. !       *** Connect its output to the Hopfield Layer input ***
  1892.  
  1893. =NPEl   LayN                    !current layer
  1894. @NrPE
  1895. =SPEl   n0                      !connect to hopfield layer
  1896. @SlPE
  1897. @PECN 3,5,1.000000,F
  1898.  
  1899. =NPEn   0
  1900. =NPEl   n0
  1901. @NrPE
  1902. =SPEn   0
  1903. =SPEl   LayN
  1904. @SlPE
  1905. @PECN 9,3,1.000000,F
  1906.  
  1907. !       *** Connect its output to the Hopfield Layer input ***
  1908.  
  1909. =NPEl   LayN                    !current layer
  1910. @NrPE
  1911. =SPEl   n0                      !connect to hopfield layer
  1912. @SlPE
  1913. @PECN 3,9,1.000000,F
  1914.  
  1915. =NPEn   0
  1916. =NPEl   n0
  1917. @NrPE
  1918. =SPEn   0
  1919. =SPEl   LayN
  1920. @SlPE
  1921. @PECN 13,3,1.000000,F
  1922.  
  1923. !       *** Connect its output to the Hopfield Layer input ***
  1924.  
  1925. =NPEl   LayN                    !current layer
  1926. @NrPE
  1927. =SPEl   n0                      !connect to hopfield layer
  1928. @SlPE
  1929. @PECN 3,13,1.000000,F
  1930.  
  1931. ! *** Bias layer Definition ***
  1932. !       *** Build the feed-back layer ***
  1933.  
  1934. @LLdf                           !start with default layer again
  1935. =LDsp 3
  1936. =LDln   "Inh"                   !accumulate inhibitions
  1937. =Lpes   4                       !4 PEs
  1938. =x      90                      !shift left for this one
  1939. =y      320                      !up higher on display
  1940. =Lscl -0.010000            ! add scale
  1941. =Loff 0.010000            ! add offset
  1942. @LAdd
  1943. +x      30                      !shift back right again
  1944. =cnwt   1.0                     !weight of one
  1945. =cnty   WFix                    !fixed
  1946. =cnsc   WAbs                    !absolute
  1947.  
  1948. =NPEn   0
  1949. =NPEl   n0
  1950. @NrPE
  1951. =SPEn   0
  1952. =SPEl   LayN
  1953. @SlPE
  1954. @PECN 2,0,1.000000,F
  1955.  
  1956. !       *** Connect its output to the Hopfield Layer input ***
  1957.  
  1958. =NPEl   LayN                    !current layer
  1959. @NrPE
  1960. =SPEl   n0                      !connect to hopfield layer
  1961. @SlPE
  1962. @PECN 0,2,1.000000,F
  1963.  
  1964. =NPEn   0
  1965. =NPEl   n0
  1966. @NrPE
  1967. =SPEn   0
  1968. =SPEl   LayN
  1969. @SlPE
  1970. @PECN 6,0,1.000000,F
  1971.  
  1972. !       *** Connect its output to the Hopfield Layer input ***
  1973.  
  1974. =NPEl   LayN                    !current layer
  1975. @NrPE
  1976. =SPEl   n0                      !connect to hopfield layer
  1977. @SlPE
  1978. @PECN 0,6,1.000000,F
  1979.  
  1980. =NPEn   0
  1981. =NPEl   n0
  1982. @NrPE
  1983. =SPEn   0
  1984. =SPEl   LayN
  1985. @SlPE
  1986. @PECN 10,0,1.000000,F
  1987.  
  1988. !       *** Connect its output to the Hopfield Layer input ***
  1989.  
  1990. =NPEl   LayN                    !current layer
  1991. @NrPE
  1992. =SPEl   n0                      !connect to hopfield layer
  1993. @SlPE
  1994. @PECN 0,10,1.000000,F
  1995.  
  1996. =NPEn   0
  1997. =NPEl   n0
  1998. @NrPE
  1999. =SPEn   0
  2000. =SPEl   LayN
  2001. @SlPE
  2002. @PECN 14,0,1.000000,F
  2003.  
  2004. !       *** Connect its output to the Hopfield Layer input ***
  2005.  
  2006. =NPEl   LayN                    !current layer
  2007. @NrPE
  2008. =SPEl   n0                      !connect to hopfield layer
  2009. @SlPE
  2010. @PECN 0,14,1.000000,F
  2011.  
  2012. =NPEn   0
  2013. =NPEl   n0
  2014. @NrPE
  2015. =SPEn   0
  2016. =SPEl   LayN
  2017. @SlPE
  2018. @PECN 2,1,1.000000,F
  2019.  
  2020. !       *** Connect its output to the Hopfield Layer input ***
  2021.  
  2022. =NPEl   LayN                    !current layer
  2023. @NrPE
  2024. =SPEl   n0                      !connect to hopfield layer
  2025. @SlPE
  2026. @PECN 1,2,1.000000,F
  2027.  
  2028. =NPEn   0
  2029. =NPEl   n0
  2030. @NrPE
  2031. =SPEn   0
  2032. =SPEl   LayN
  2033. @SlPE
  2034. @PECN 6,1,1.000000,F
  2035.  
  2036. !       *** Connect its output to the Hopfield Layer input ***
  2037.  
  2038. =NPEl   LayN                    !current layer
  2039. @NrPE
  2040. =SPEl   n0                      !connect to hopfield layer
  2041. @SlPE
  2042. @PECN 1,6,1.000000,F
  2043.  
  2044. =NPEn   0
  2045. =NPEl   n0
  2046. @NrPE
  2047. =SPEn   0
  2048. =SPEl   LayN
  2049. @SlPE
  2050. @PECN 10,1,1.000000,F
  2051.  
  2052. !       *** Connect its output to the Hopfield Layer input ***
  2053.  
  2054. =NPEl   LayN                    !current layer
  2055. @NrPE
  2056. =SPEl   n0                      !connect to hopfield layer
  2057. @SlPE
  2058. @PECN 1,10,1.000000,F
  2059.  
  2060. =NPEn   0
  2061. =NPEl   n0
  2062. @NrPE
  2063. =SPEn   0
  2064. =SPEl   LayN
  2065. @SlPE
  2066. @PECN 14,1,1.000000,F
  2067.  
  2068. !       *** Connect its output to the Hopfield Layer input ***
  2069.  
  2070. =NPEl   LayN                    !current layer
  2071. @NrPE
  2072. =SPEl   n0                      !connect to hopfield layer
  2073. @SlPE
  2074. @PECN 1,14,1.000000,F
  2075.  
  2076. =NPEn   0
  2077. =NPEl   n0
  2078. @NrPE
  2079. =SPEn   0
  2080. =SPEl   LayN
  2081. @SlPE
  2082. @PECN 2,2,1.000000,F
  2083.  
  2084. !       *** Connect its output to the Hopfield Layer input ***
  2085.  
  2086. =NPEl   LayN                    !current layer
  2087. @NrPE
  2088. =SPEl   n0                      !connect to hopfield layer
  2089. @SlPE
  2090. @PECN 2,2,1.000000,F
  2091.  
  2092. =NPEn   0
  2093. =NPEl   n0
  2094. @NrPE
  2095. =SPEn   0
  2096. =SPEl   LayN
  2097. @SlPE
  2098. @PECN 6,2,1.000000,F
  2099.  
  2100. !       *** Connect its output to the Hopfield Layer input ***
  2101.  
  2102. =NPEl   LayN                    !current layer
  2103. @NrPE
  2104. =SPEl   n0                      !connect to hopfield layer
  2105. @SlPE
  2106. @PECN 2,6,1.000000,F
  2107.  
  2108. =NPEn   0
  2109. =NPEl   n0
  2110. @NrPE
  2111. =SPEn   0
  2112. =SPEl   LayN
  2113. @SlPE
  2114. @PECN 10,2,1.000000,F
  2115.  
  2116. !       *** Connect its output to the Hopfield Layer input ***
  2117.  
  2118. =NPEl   LayN                    !current layer
  2119. @NrPE
  2120. =SPEl   n0                      !connect to hopfield layer
  2121. @SlPE
  2122. @PECN 2,10,1.000000,F
  2123.  
  2124. =NPEn   0
  2125. =NPEl   n0
  2126. @NrPE
  2127. =SPEn   0
  2128. =SPEl   LayN
  2129. @SlPE
  2130. @PECN 14,2,1.000000,F
  2131.  
  2132. !       *** Connect its output to the Hopfield Layer input ***
  2133.  
  2134. =NPEl   LayN                    !current layer
  2135. @NrPE
  2136. =SPEl   n0                      !connect to hopfield layer
  2137. @SlPE
  2138. @PECN 2,14,1.000000,F
  2139.  
  2140. =NPEn   0
  2141. =NPEl   n0
  2142. @NrPE
  2143. =SPEn   0
  2144. =SPEl   LayN
  2145. @SlPE
  2146. @PECN 2,3,1.000000,F
  2147.  
  2148. !       *** Connect its output to the Hopfield Layer input ***
  2149.  
  2150. =NPEl   LayN                    !current layer
  2151. @NrPE
  2152. =SPEl   n0                      !connect to hopfield layer
  2153. @SlPE
  2154. @PECN 3,2,1.000000,F
  2155.  
  2156. =NPEn   0
  2157. =NPEl   n0
  2158. @NrPE
  2159. =SPEn   0
  2160. =SPEl   LayN
  2161. @SlPE
  2162. @PECN 6,3,1.000000,F
  2163.  
  2164. !       *** Connect its output to the Hopfield Layer input ***
  2165.  
  2166. =NPEl   LayN                    !current layer
  2167. @NrPE
  2168. =SPEl   n0                      !connect to hopfield layer
  2169. @SlPE
  2170. @PECN 3,6,1.000000,F
  2171.  
  2172. =NPEn   0
  2173. =NPEl   n0
  2174. @NrPE
  2175. =SPEn   0
  2176. =SPEl   LayN
  2177. @SlPE
  2178. @PECN 10,3,1.000000,F
  2179.  
  2180. !       *** Connect its output to the Hopfield Layer input ***
  2181.  
  2182. =NPEl   LayN                    !current layer
  2183. @NrPE
  2184. =SPEl   n0                      !connect to hopfield layer
  2185. @SlPE
  2186. @PECN 3,10,1.000000,F
  2187.  
  2188. =NPEn   0
  2189. =NPEl   n0
  2190. @NrPE
  2191. =SPEn   0
  2192. =SPEl   LayN
  2193. @SlPE
  2194. @PECN 14,3,1.000000,F
  2195.  
  2196. !       *** Connect its output to the Hopfield Layer input ***
  2197.  
  2198. =NPEl   LayN                    !current layer
  2199. @NrPE
  2200. =SPEl   n0                      !connect to hopfield layer
  2201. @SlPE
  2202. @PECN 3,14,1.000000,F
  2203.  
  2204. ! *** Bias layer Definition ***
  2205. !       *** Build the feed-back layer ***
  2206.  
  2207. @LLdf                           !start with default layer again
  2208. =LDsp 3
  2209. =LDln   "Inh"                   !accumulate inhibitions
  2210. =Lpes   4                       !4 PEs
  2211. =x      130                      !shift left for this one
  2212. =y      320                      !up higher on display
  2213. =Lscl -0.010000            ! add scale
  2214. =Loff 0.010000            ! add offset
  2215. @LAdd
  2216. +x      30                      !shift back right again
  2217. =cnwt   1.0                     !weight of one
  2218. =cnty   WFix                    !fixed
  2219. =cnsc   WAbs                    !absolute
  2220.  
  2221. =NPEn   0
  2222. =NPEl   n0
  2223. @NrPE
  2224. =SPEn   0
  2225. =SPEl   LayN
  2226. @SlPE
  2227. @PECN 3,0,1.000000,F
  2228.  
  2229. !       *** Connect its output to the Hopfield Layer input ***
  2230.  
  2231. =NPEl   LayN                    !current layer
  2232. @NrPE
  2233. =SPEl   n0                      !connect to hopfield layer
  2234. @SlPE
  2235. @PECN 0,3,1.000000,F
  2236.  
  2237. =NPEn   0
  2238. =NPEl   n0
  2239. @NrPE
  2240. =SPEn   0
  2241. =SPEl   LayN
  2242. @SlPE
  2243. @PECN 7,0,1.000000,F
  2244.  
  2245. !       *** Connect its output to the Hopfield Layer input ***
  2246.  
  2247. =NPEl   LayN                    !current layer
  2248. @NrPE
  2249. =SPEl   n0                      !connect to hopfield layer
  2250. @SlPE
  2251. @PECN 0,7,1.000000,F
  2252.  
  2253. =NPEn   0
  2254. =NPEl   n0
  2255. @NrPE
  2256. =SPEn   0
  2257. =SPEl   LayN
  2258. @SlPE
  2259. @PECN 11,0,1.000000,F
  2260.  
  2261. !       *** Connect its output to the Hopfield Layer input ***
  2262.  
  2263. =NPEl   LayN                    !current layer
  2264. @NrPE
  2265. =SPEl   n0                      !connect to hopfield layer
  2266. @SlPE
  2267. @PECN 0,11,1.000000,F
  2268.  
  2269. =NPEn   0
  2270. =NPEl   n0
  2271. @NrPE
  2272. =SPEn   0
  2273. =SPEl   LayN
  2274. @SlPE
  2275. @PECN 15,0,1.000000,F
  2276.  
  2277. !       *** Connect its output to the Hopfield Layer input ***
  2278.  
  2279. =NPEl   LayN                    !current layer
  2280. @NrPE
  2281. =SPEl   n0                      !connect to hopfield layer
  2282. @SlPE
  2283. @PECN 0,15,1.000000,F
  2284.  
  2285. =NPEn   0
  2286. =NPEl   n0
  2287. @NrPE
  2288. =SPEn   0
  2289. =SPEl   LayN
  2290. @SlPE
  2291. @PECN 3,1,1.000000,F
  2292.  
  2293. !       *** Connect its output to the Hopfield Layer input ***
  2294.  
  2295. =NPEl   LayN                    !current layer
  2296. @NrPE
  2297. =SPEl   n0                      !connect to hopfield layer
  2298. @SlPE
  2299. @PECN 1,3,1.000000,F
  2300.  
  2301. =NPEn   0
  2302. =NPEl   n0
  2303. @NrPE
  2304. =SPEn   0
  2305. =SPEl   LayN
  2306. @SlPE
  2307. @PECN 7,1,1.000000,F
  2308.  
  2309. !       *** Connect its output to the Hopfield Layer input ***
  2310.  
  2311. =NPEl   LayN                    !current layer
  2312. @NrPE
  2313. =SPEl   n0                      !connect to hopfield layer
  2314. @SlPE
  2315. @PECN 1,7,1.000000,F
  2316.  
  2317. =NPEn   0
  2318. =NPEl   n0
  2319. @NrPE
  2320. =SPEn   0
  2321. =SPEl   LayN
  2322. @SlPE
  2323. @PECN 11,1,1.000000,F
  2324.  
  2325. !       *** Connect its output to the Hopfield Layer input ***
  2326.  
  2327. =NPEl   LayN                    !current layer
  2328. @NrPE
  2329. =SPEl   n0                      !connect to hopfield layer
  2330. @SlPE
  2331. @PECN 1,11,1.000000,F
  2332.  
  2333. =NPEn   0
  2334. =NPEl   n0
  2335. @NrPE
  2336. =SPEn   0
  2337. =SPEl   LayN
  2338. @SlPE
  2339. @PECN 15,1,1.000000,F
  2340.  
  2341. !       *** Connect its output to the Hopfield Layer input ***
  2342.  
  2343. =NPEl   LayN                    !current layer
  2344. @NrPE
  2345. =SPEl   n0                      !connect to hopfield layer
  2346. @SlPE
  2347. @PECN 1,15,1.000000,F
  2348.  
  2349. =NPEn   0
  2350. =NPEl   n0
  2351. @NrPE
  2352. =SPEn   0
  2353. =SPEl   LayN
  2354. @SlPE
  2355. @PECN 3,2,1.000000,F
  2356.  
  2357. !       *** Connect its output to the Hopfield Layer input ***
  2358.  
  2359. =NPEl   LayN                    !current layer
  2360. @NrPE
  2361. =SPEl   n0                      !connect to hopfield layer
  2362. @SlPE
  2363. @PECN 2,3,1.000000,F
  2364.  
  2365. =NPEn   0
  2366. =NPEl   n0
  2367. @NrPE
  2368. =SPEn   0
  2369. =SPEl   LayN
  2370. @SlPE
  2371. @PECN 7,2,1.000000,F
  2372.  
  2373. !       *** Connect its output to the Hopfield Layer input ***
  2374.  
  2375. =NPEl   LayN                    !current layer
  2376. @NrPE
  2377. =SPEl   n0                      !connect to hopfield layer
  2378. @SlPE
  2379. @PECN 2,7,1.000000,F
  2380.  
  2381. =NPEn   0
  2382. =NPEl   n0
  2383. @NrPE
  2384. =SPEn   0
  2385. =SPEl   LayN
  2386. @SlPE
  2387. @PECN 11,2,1.000000,F
  2388.  
  2389. !       *** Connect its output to the Hopfield Layer input ***
  2390.  
  2391. =NPEl   LayN                    !current layer
  2392. @NrPE
  2393. =SPEl   n0                      !connect to hopfield layer
  2394. @SlPE
  2395. @PECN 2,11,1.000000,F
  2396.  
  2397. =NPEn   0
  2398. =NPEl   n0
  2399. @NrPE
  2400. =SPEn   0
  2401. =SPEl   LayN
  2402. @SlPE
  2403. @PECN 15,2,1.000000,F
  2404.  
  2405. !       *** Connect its output to the Hopfield Layer input ***
  2406.  
  2407. =NPEl   LayN                    !current layer
  2408. @NrPE
  2409. =SPEl   n0                      !connect to hopfield layer
  2410. @SlPE
  2411. @PECN 2,15,1.000000,F
  2412.  
  2413. =NPEn   0
  2414. =NPEl   n0
  2415. @NrPE
  2416. =SPEn   0
  2417. =SPEl   LayN
  2418. @SlPE
  2419. @PECN 3,3,1.000000,F
  2420.  
  2421. !       *** Connect its output to the Hopfield Layer input ***
  2422.  
  2423. =NPEl   LayN                    !current layer
  2424. @NrPE
  2425. =SPEl   n0                      !connect to hopfield layer
  2426. @SlPE
  2427. @PECN 3,3,1.000000,F
  2428.  
  2429. =NPEn   0
  2430. =NPEl   n0
  2431. @NrPE
  2432. =SPEn   0
  2433. =SPEl   LayN
  2434. @SlPE
  2435. @PECN 7,3,1.000000,F
  2436.  
  2437. !       *** Connect its output to the Hopfield Layer input ***
  2438.  
  2439. =NPEl   LayN                    !current layer
  2440. @NrPE
  2441. =SPEl   n0                      !connect to hopfield layer
  2442. @SlPE
  2443. @PECN 3,7,1.000000,F
  2444.  
  2445. =NPEn   0
  2446. =NPEl   n0
  2447. @NrPE
  2448. =SPEn   0
  2449. =SPEl   LayN
  2450. @SlPE
  2451. @PECN 11,3,1.000000,F
  2452.  
  2453. !       *** Connect its output to the Hopfield Layer input ***
  2454.  
  2455. =NPEl   LayN                    !current layer
  2456. @NrPE
  2457. =SPEl   n0                      !connect to hopfield layer
  2458. @SlPE
  2459. @PECN 3,11,1.000000,F
  2460.  
  2461. =NPEn   0
  2462. =NPEl   n0
  2463. @NrPE
  2464. =SPEn   0
  2465. =SPEl   LayN
  2466. @SlPE
  2467. @PECN 15,3,1.000000,F
  2468.  
  2469. !       *** Connect its output to the Hopfield Layer input ***
  2470.  
  2471. =NPEl   LayN                    !current layer
  2472. @NrPE
  2473. =SPEl   n0                      !connect to hopfield layer
  2474. @SlPE
  2475. @PECN 3,15,1.000000,F
  2476.  
  2477. !       *** Build the Output Layer ***
  2478.  
  2479. @LLdf                           !start with default layer again
  2480. =LDsp 3
  2481. =LDln   "Output"                !layer name
  2482. =Lpes   n3                      !desired number of PEs
  2483. =x     100                      !place to put output layer
  2484. +y      20                      !up higher on display
  2485. @LAdd
  2486.  
  2487. !       *** Connect the output layer back to the hopfield layer ***
  2488.  
  2489. =SPEl   LayN                    !select output layer
  2490. @SlPE
  2491. =NPEl   n0                      !hopfield layer
  2492. @NrPE
  2493. =cnsc   WRel
  2494. @LCCr
  2495.  
  2496. !       *** Select Control Strategy & L/R Schedule ***
  2497.  
  2498. @LLsl                           !load super layer
  2499. =Lctl   "tsp"                 !control strategy
  2500. =Llrs   "tsp"                 !L/R Schedule
  2501. =Lsty   "tsp"                 !style sheet
  2502.  
  2503. =Llnn   "tsp"                 !name of learn input
  2504. =Lrcn   "tsp"                 !name of recall output
  2505. =Lion   "tspio"               !user i/o name */
  2506. +Llio 128     !set user i/o in learn mode
  2507. +Lrio 128     !set user i/o in recall mode
  2508. +Lflg   LAAs                    !auto-associative
  2509. =BPDM 0     !do not use min/max tables
  2510. =BPDF 1     !use default file names
  2511. =RnRm 1     !recall for 1 pass
  2512. @SVsl                           !save it back
  2513.  
  2514. @EOF
  2515.